<extend name="Public/base"/>
<block name="body">
    <div class="portlet box blue">
        <div class="portlet-title">
            <div class="caption"><i class="fa fa-reorder"></i>班级管理</div>
            <div class="tools">
                <a href="" class="collapse"></a><a href="" class="remove"></a>
            </div>
        </div>
        <div class="portlet-body">

            <div class="form-horizontal">
                <div class="col-md-4 margin-bottom-20">
                    <a href="{:U('addgrade?gid='.$_GET['gid'])}" class="btn blue">添加班级</a>
                </div>
                <div class="clearfix"></div>
            </div>

            <div class="col-md-12">

                <volist name="_list" id="vo">
                <div class="btn-group btn-group-justified margin-bottom-20">
                    <span class="btn blue yellow-stripe">{$vo.grade_name}({$vo.class_number})</span>
                    <a href="班级_课程表.html" class="btn btn-default"><i class="fa fa-calendar"></i><p>课程表</p></a>
                    <a href="{:U('classstudentlist?cid='.$vo['id'].'&grade_name='.$vo['grade_name'])}" class="btn btn-default"><i class="fa fa-group"></i><p>学生管理</p></a>
                    <a href="#" class="btn btn-default"><i class="fa fa-comments"></i><p>家长会</p></a>
                    <a href="#" class="btn btn-default"><i class="fa fa-file-text-o"></i><p>基本信息</p></a>
                </div>
                </volist>

            </div>
           <div class="page">{$_page}</div>

        </div>
    </div>
</block>

<block name="script">
    <script src="__STATIC__/scripts/app.js"></script>
    <script>
        jQuery(document).ready(function() {
            App.init();
        });
    </script>
</block>